/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_8010_113_mnsms_sap.val                                       |
| SOURCE  : "..\build\Hogwarts\LPR0\obj\cdginc\CSSD_PS\dev\ps_share\sap\8010_113_mnsms_sap.pdf"                      |
| LastModified : "2003-04-23"                                              |
| IdAndVersion : "8010.113.02.006"                                         |
| SrcFileTime  : "Wed Dec 12 14:03:22 2007"                                |
| Generated by CCDGEN_2.7.6 on Tue Jun 24 19:44:35 2008                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : MNSMS
 * COMPATIBILITY_DEFINES  : NO
 * ALWAYS_ENUM_IN_VAL_FILE: YES
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_8010_113_MNSMS_SAP_VAL
#define P_8010_113_MNSMS_SAP_VAL


#define CDG_ENTER__P_8010_113_MNSMS_SAP_VAL

#define CDG_ENTER__FILENAME _P_8010_113_MNSMS_SAP_VAL
#define CDG_ENTER__P_8010_113_MNSMS_SAP_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__P_8010_113_MNSMS_SAP_VAL__LAST_MODIFIED _2003_04_23
#define CDG_ENTER__P_8010_113_MNSMS_SAP_VAL__ID_AND_VERSION _8010_113_02_006

#define CDG_ENTER__P_8010_113_MNSMS_SAP_VAL__SRC_FILE_TIME _Wed_Dec_12_14_03_22_2007

// #include "CDG_ENTER.h"

#undef CDG_ENTER__P_8010_113_MNSMS_SAP_VAL

#undef CDG_ENTER__FILENAME

#include "tapi_m_sms_val.h"   /* Access values independent from the corresponding h-file. */

#include "tapi_p_8010_153_cause_include_val.h"   /* Access values independent from the corresponding h-file. */


/*
 * Enum to value table VAL_mem_type
 * CCDGEN:WriteEnum_Count==1039
 */
#ifndef __T_MNSMS_VAL_mem_type__
#define __T_MNSMS_VAL_mem_type__
typedef enum
{
  MNSMS_MEM_ME                   = 0x1,           /* mobile equipment memory 1      */
  MNSMS_MEM_SM                   = 0x3,           /* subscriber identity module memory */
  MNSMS_MEM_SR                   = 0x5            /* status report memory           */
}T_MNSMS_VAL_mem_type;
#endif

/*
 * Enum to value table VAL_mhc
 * CCDGEN:WriteEnum_Count==1040
 */
#ifndef __T_MNSMS_VAL_mhc__
#define __T_MNSMS_VAL_mhc__
typedef enum
{
  MNSMS_MHC_DEF                  = 0x0,           /* default (Phase 2)              */
  MNSMS_MHC_PH2                  = 0x2,           /* Phase 2                        */
  MNSMS_MHC_PH2PLUS              = 0x3            /* Phase 2+                       */
}T_MNSMS_VAL_mhc;
#endif

/*
 * Enum to value table VAL_status
 * CCDGEN:WriteEnum_Count==1041
 */
#ifndef __T_MNSMS_VAL_status__
#define __T_MNSMS_VAL_status__
typedef enum
{
  MNSMS_RECORD_FREE              = 0x0,           /* Free record                    */
  MNSMS_RECORD_REC_UNREAD        = 0x3,           /* MT record, not read            */
  MNSMS_RECORD_REC_READ          = 0x1,           /* MT record, already read        */
  MNSMS_RECORD_STO_UNSENT        = 0x7,           /* MO record, not sent            */
  MNSMS_RECORD_STO_SENT          = 0x5,           /* MO record, already sent, status report not requested */
  MNSMS_RECORD_STAT_UNRCVD       = 0xd,           /* MO record, already sent, status report requested, not received */
  MNSMS_RECORD_STAT_UNSTRD       = 0x15,          /* MO record, already sent, status report received, not stored */
  MNSMS_RECORD_STAT_STRD         = 0x1d,          /* MO record, already sent, status report received and stored */
  MNSMS_RECORD_INVALID           = 0xe0           /* The record keeps unrecognizable data */
}T_MNSMS_VAL_status;
#endif

/*
 * Enum to value table VAL_mt
 * CCDGEN:WriteEnum_Count==1042
 */
#ifndef __T_MNSMS_VAL_mt__
#define __T_MNSMS_VAL_mt__
typedef enum
{
  MNSMS_MT0                      = 0x0,           /* Mobile Terminated Mode 0       */
  MNSMS_MT1                      = 0x1,           /* Mobile Terminated Mode 1       */
  MNSMS_MT2                      = 0x2,           /* Mobile Terminated Mode 2       */
  MNSMS_MT3                      = 0x3,           /* Mobile Terminated Mode 3       */
  MNSMS_MT_DEF                   = 0x4,           /* Mobile Terminated Mode Default */
  MNSMS_MT_TM                    = 0x5            /* Mobile Terminated Transparent Mode */
}T_MNSMS_VAL_mt;
#endif

/*
 * Enum to value table VAL_modify
 * CCDGEN:WriteEnum_Count==1043
 */
#ifndef __T_MNSMS_VAL_modify__
#define __T_MNSMS_VAL_modify__
typedef enum
{
  MNSMS_VAL_MODIFY__RANGE_MIN    = 0x5,           /* minimum                        */
  MNSMS_VAL_MODIFY__RANGE_MAX    = 0xff,          /* maximum                        */
  MNSMS_MODIFY_NON               = 0x0,           /* no modification                */
  MNSMS_MODIFY_TPOA              = 0x1,           /* substitution of TP-OA          */
  MNSMS_MODIFY_SCA               = 0x2,           /* substitution of SCA            */
  MNSMS_MODIFY_TPOA_SCA          = 0x3,           /* substitution of TP-OA and SCA  */
  MNSMS_MODIFY_ALL               = 0x4            /* substitution of the complete message */
}T_MNSMS_VAL_modify;
#endif

/*
 * Enum to value table VAL_read_mode
 * CCDGEN:WriteEnum_Count==1044
 */
#ifndef __T_MNSMS_VAL_read_mode__
#define __T_MNSMS_VAL_read_mode__
typedef enum
{
  MNSMS_READ_NORMAL              = 0x0,           /* Normal reading - This is the normal mode in which message status change to read message after reading the message */
  MNSMS_READ_PREVIEW             = 0x1,           /* Reading without preview - The preview mode keeps the message status unchanged */
  MNSMS_READ_STATUS_CHANGE       = 0x2            /* Change only status - The status change mode change the status of the unread messages to read messages */
}T_MNSMS_VAL_read_mode;
#endif

/*
 * Enum to value table VAL_rec_num
 * CCDGEN:WriteEnum_Count==1045
 */
#ifndef __T_MNSMS_VAL_rec_num__
#define __T_MNSMS_VAL_rec_num__
typedef enum
{
  MNSMS_RECORD_NOT_EXIST         = 0x0            /* record is not existing         */
}T_MNSMS_VAL_rec_num;
#endif

/*
 * Enum to value table VAL_mo_sms_serv
 * CCDGEN:WriteEnum_Count==1046
 */
#ifndef __T_MNSMS_VAL_mo_sms_serv__
#define __T_MNSMS_VAL_mo_sms_serv__
typedef enum
{
  MNSMS_PS_ONLY                  = 0x0,           /* Use PS domain only for MO SMS  */
  MNSMS_CS_ONLY                  = 0x1,           /* Use CS domain only for MO SMS  */
  MNSMS_PS_PREF                  = 0x2,           /* Use PS domain in preference for MO SMS */
  MNSMS_CS_PREF                  = 0x3            /* Use CS domain in preference for MO SMS */
}T_MNSMS_VAL_mo_sms_serv;
#endif

/*
 * Enum to value table VAL_resp
 * CCDGEN:WriteEnum_Count==1047
 */
#ifndef __T_MNSMS_VAL_resp__
#define __T_MNSMS_VAL_resp__
typedef enum
{
  MNSMS_RP_ACK                   = 0x0,           /* send RP-ACK to network         */
  MNSMS_RP_ERROR                 = 0x1            /* send RP-ERROR to network       */
}T_MNSMS_VAL_resp;
#endif

/*
 * Enum to value table VAL_state
 * CCDGEN:WriteEnum_Count==1048
 */
#ifndef __T_MNSMS_VAL_state__
#define __T_MNSMS_VAL_state__
typedef enum
{
  MNSMS_VAL_STATE__RANGE_MIN     = 0x3,           /* minimum                        */
  MNSMS_VAL_STATE__RANGE_MAX     = 0xfe,          /* maximum                        */
  MNSMS_STATE_READY              = 0x0,           /* SMS is full operable           */
  MNSMS_STATE_INITIALISING       = 0x1,           /* SMS is in initialisation state */
  MNSMS_STATE_BUSY               = 0x2,           /* SMS is in a busy condition     */
  MNSMS_STATE_NOT_AVAILABLE      = 0xff           /* SMS is inoperable              */
}T_MNSMS_VAL_state;
#endif

/*
 * Enum to value table VAL_ds
 * CCDGEN:WriteEnum_Count==1049
 */
#ifndef __T_MNSMS_VAL_ds__
#define __T_MNSMS_VAL_ds__
typedef enum
{
  MNSMS_DS0                      = 0x0,           /* Status Report Mode 0: no status report to be returned */
  MNSMS_DS1                      = 0x1,           /* Status Report Mode 1: status report returned to MMI */
  MNSMS_DS2                      = 0x2            /* Status Report Mode 2: status report stored, if possible */
}T_MNSMS_VAL_ds;
#endif

/*
 * Enum to value table VAL_condx
 * CCDGEN:WriteEnum_Count==1050
 */
#ifndef __T_MNSMS_VAL_condx__
#define __T_MNSMS_VAL_condx__
typedef enum
{
  MNSMS_VAL_CONDX__RANGE_MIN     = 0x3,           /* minimum                        */
  MNSMS_VAL_CONDX__RANGE_MAX     = 0xff,          /* maximum                        */
  MNSMS_CONDX_OVR_NON            = 0x0,           /* do not overwrite an existing message */
  MNSMS_CONDX_OVR_MO             = 0x1,           /* overwrite only an exisiting mobile originated message */
  MNSMS_CONDX_OVR_ANY            = 0x2            /* overwrite any existing message */
}T_MNSMS_VAL_condx;
#endif

/*
 * Enum to value table VAL_auto_rep_flag
 * CCDGEN:WriteEnum_Count==1051
 */
#ifndef __T_MNSMS_VAL_auto_rep_flag__
#define __T_MNSMS_VAL_auto_rep_flag__
typedef enum
{
  MNSMS_AUTO_REP_FLAG_DISABLED   = 0x0,           /* Auto repeat off                */
  MNSMS_AUTO_REP_FLAG_ENABLE     = 0x1            /* Auto repeat on                 */
}T_MNSMS_VAL_auto_rep_flag;
#endif

/*
 * Enum to value table VAL_query_type
 * CCDGEN:WriteEnum_Count==1052
 */
#ifndef __T_MNSMS_VAL_query_type__
#define __T_MNSMS_VAL_query_type__
typedef enum
{
  MNSMS_SMS_QUERY_DELIVER_STATUS = 0x1            /* Query Request is for delivery status (pause or resume) */
}T_MNSMS_VAL_query_type;
#endif

/*
 * Enum to value table VAL_deliver_status
 * CCDGEN:WriteEnum_Count==1053
 */
#ifndef __T_MNSMS_VAL_deliver_status__
#define __T_MNSMS_VAL_deliver_status__
typedef enum
{
  MNSMS_SMS_DELIVER_STATUS_PAUSE = 0x10,          /* SMS delivery paused by user    */
  MNSMS_SMS_DELIVER_STATUS_RESUME = 0x11          /* SMS delivery to user allowed   */
}T_MNSMS_VAL_deliver_status;
#endif

/*
 * Enum to value table VAL_Status
 * CCDGEN:WriteEnum_Count==1054
 */
#ifndef __T_MNSMS_VAL_Status__
#define __T_MNSMS_VAL_Status__
typedef enum
{
  MNSMS_CMGD_DEL_INDEX           = 0x0,           /* Delete the messages specified by the index. */
  MNSMS_CMGD_DEL_READ            = 0x1,           /* Ignore the index and delete all the read messages. */
  MNSMS_CMGD_DEL_READ_SENT       = 0x2,           /* Ignore the index and delete all the read and sent messages. */
  MNSMS_CMGD_DEL_READ_SENT_UNSENT = 0x3,          /* Ignore the index and delete all the read, send and unsent messages. */
  MNSMS_CMGD_DEL_ALL             = 0x4            /* Ignore the index and delete all the messages whatever the status it is. */
}T_MNSMS_VAL_Status;
#endif

/*
 * user defined constants
 */
#define MNSMS_SMS_MSG_LEN              (0x8c)
#define MNSMS_SMS_CMD_LEN              (0x9d)
#define MNSMS_SIM_PDU_LEN              (0xaf)

// #include "CDG_LEAVE.h"


#endif

